package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "结算订单请求体")
@Data
public class OrderCompleteRequest {


    @Schema(description="订单id",example="1")
    @NotNull
    private Long id;

    @Schema(description = "支付类型:1现金 2欠账 3银行卡 4其他 5存款 11门店微信二维码 12微信客户主扫 13微信客户被扫 14微信刷脸 21门店支付宝二维码 22支付宝客户扫商户 23支付宝商户扫客户 31易收宝客户扫商户 32易收宝商户扫客户",example = "1")
    @NotNull
    private Integer payType = 12;


    @Schema(description="1执行四舍五入，其他值不执行四舍五入",example = "0")
    private Integer roundType;

    @Schema(description="欠款支付时的客户签名",example="abcfjosafiewofejwof")
    private String sign;

    @Schema(description="销售员",example="当前销售员")
    private String sellAgent;


    @Schema(description="商户主动扫码时，扫出的客户付款id")
    private String authCode;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    @NotEmpty
    private String openId;
}
